package com.ruoyi.gjhf.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.gjhf.mapper.GjhfGjxqMapper;
import com.ruoyi.gjhf.domain.GjhfGjxq;
import com.ruoyi.gjhf.service.IGjhfGjxqService;

/**
 * 轨迹回放_轨迹详情Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-10-07
 */
@Service
public class GjhfGjxqServiceImpl implements IGjhfGjxqService 
{
    @Autowired
    private GjhfGjxqMapper gjhfGjxqMapper;

    /**
     * 查询轨迹回放_轨迹详情
     * 
     * @param id 轨迹回放_轨迹详情主键
     * @return 轨迹回放_轨迹详情
     */
    @Override
    public GjhfGjxq selectGjhfGjxqById(Long id)
    {
        return gjhfGjxqMapper.selectGjhfGjxqById(id);
    }

    /**
     * 查询轨迹回放_轨迹详情列表
     * 
     * @param gjhfGjxq 轨迹回放_轨迹详情
     * @return 轨迹回放_轨迹详情
     */
    @Override
    public List<GjhfGjxq> selectGjhfGjxqList(GjhfGjxq gjhfGjxq)
    {
        return gjhfGjxqMapper.selectGjhfGjxqList(gjhfGjxq);
    }

    /**
     * 新增轨迹回放_轨迹详情
     * 
     * @param gjhfGjxq 轨迹回放_轨迹详情
     * @return 结果
     */
    @Override
    public int insertGjhfGjxq(GjhfGjxq gjhfGjxq)
    {
        return gjhfGjxqMapper.insertGjhfGjxq(gjhfGjxq);
    }

    /**
     * 修改轨迹回放_轨迹详情
     * 
     * @param gjhfGjxq 轨迹回放_轨迹详情
     * @return 结果
     */
    @Override
    public int updateGjhfGjxq(GjhfGjxq gjhfGjxq)
    {
        return gjhfGjxqMapper.updateGjhfGjxq(gjhfGjxq);
    }

    /**
     * 批量删除轨迹回放_轨迹详情
     * 
     * @param ids 需要删除的轨迹回放_轨迹详情主键
     * @return 结果
     */
    @Override
    public int deleteGjhfGjxqByIds(Long[] ids)
    {
        return gjhfGjxqMapper.deleteGjhfGjxqByIds(ids);
    }

    /**
     * 删除轨迹回放_轨迹详情信息
     * 
     * @param id 轨迹回放_轨迹详情主键
     * @return 结果
     */
    @Override
    public int deleteGjhfGjxqById(Long id)
    {
        return gjhfGjxqMapper.deleteGjhfGjxqById(id);
    }
}
